// Parts

SS.Parts      = {} -- Bar table
SS.Parts.List = {} -- Top bar

// Add part

function SS.Parts.Add(ID, Type)
	table.insert(SS.Parts.List, {ID, Type})
end

// Request part

function SS.Parts.Request(Player, Type)
	local Table = {}
	
	for K, V in pairs(SS.Parts.List) do
		if (V[2] == Type) then
			local Text = "Error"
			
			local Type = type(V[1])
			
			if (Type == "function") then
				Text = V[1]()
			else
				Text = Player:GetNetworkedString(V[1])
			end
			
			table.insert(Table, Text)
		end
	end
	
	return Table
end